//
// Created by Administrator on 2021/12/5.
//

#ifndef MARCHING_CUBES_UTILS_H
#define MARCHING_CUBES_UTILS_H

#include <cmath>
#include "types.h"

class Utils {
public:
    static inline mc_float mc_internal_length2(const mc_vec3f &v);

    static inline mc_float mc_internal_length(const mc_vec3f &v);

    static mc_vec3f mc_internal_normalize(const mc_vec3f &v);

    static mc_vec3f mc_internal_cross(const mc_vec3f &v1, const mc_vec3f &v2);
};


#endif //MARCHING_CUBES_UTILS_H
